﻿/* Pomoho UI - Searched */
/* Created By SMbey0nd 2009-2-17 */

Pui.Searched = {
	init:function(){
		this.tagCloud();
	},
	tagCloud:function(id,e){ //ID, 权值数组
		var len = $(id+' li').length;
		for(i=0;i<len;i++){
			var obj = $(id+' li').get(i);
			$(obj).addClass('level-' + e[i]);
		}
	}
};